home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Reference & Presen…rary 5 (Internal Edition)
/
Apple R&P Lib Internal v5.0.iso
/
6-Developer Demos
/
Developer Demos-Ed.
/
Macintosh School® CD-ROM Demo
/
Macintosh SchoolÆ CD-ROM Demo
/
card_134784.txt
< prev
next >
Wrap
Text File
|
1990-08-14
|
4KB
|
238 lines
-- card: 134784 from stack: in
-- bmap block id: 135279
-- flags: 4000
-- background id: 14625
-- name:
----- HyperTalk script -----
on doMenu menuItem
if menuItem is "Clear" then
put empty into card field "Class 2"
else pass doMenu
end doMenu
on resetCard
put empty into card field "Class 1"
put "T/R" into card field "Class 2"
hide card button "Hilite"
end resetCard
-- part 1 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=0 top=0 right=342 bottom=512
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 2 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=11 top=33 right=48 bottom=26
-- title width / last selected line: 0
-- icon id / first selected line: 5068 / 5068
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Close
----- HyperTalk script -----
on mouseDown
set icon of me to "Close Box Hi"
end mouseDown
on mouseLeave
set icon of me to "Close Box"
end mouseLeave
on mouseUp
set icon of me to "Close Box"
lock screen
resetCard
pop card
unlock screen
end mouseUp
-- part 3 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=4 top=315 right=334 bottom=23
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Legend
----- HyperTalk script -----
on mouseUp
--get the rect of me
--put the clickH - item 1 of the rect of me into x
--put the clickV - item 2 of the rect of me into y
--if x < y then
lock screen
resetCard
go to card "Legend" of this background
unlock screen
--end if
end mouseUp
-- part 4 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=206 top=203 right=215 bottom=271
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: Class 1
-- part 5 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=206 top=239 right=251 bottom=271
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: Class 2
-- part 6 (button)
-- low flags: 80
-- high flags: 4000
-- rect: left=207 top=204 right=215 bottom=292
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Hilite
-- part 7 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=35 top=192 right=287 bottom=464
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
----- HyperTalk script -----
on mouseUp
put trunc((the clickH-34)/86) * 86 + 77 into item 1 of buttonLoc
put trunc((the clickV-191)/12) * 12 + 197 into item 2 of buttonLoc
if the loc of card button "Hilite" is buttonLoc AND visible of card button "Hilite" then
show card button "Hilite" at buttonLoc
put "T/R" into card field "Class 1"
else show card button "Hilite" at buttonLoc
end mouseUp
-- part contents for background part 19
----- text -----
12
12
12
12
12
11
12
12
-- part contents for background part 20
----- text -----
47
80
53
54
52
102
48
13
-- part contents for background part 21
----- text -----
Abrosimoff, Michael John
Adams, Bryan
Alexander, Rick
Alexander, Susan
Allsop, Blair M.
Azimov, Isaac
Barisoff, Larissa
Bunyan, Paul
-- part contents for background part 22
----- text -----
Industrial
Academic
Academic
Academic
Academic
Academic
Academic
Commercial
-- part contents for background part 23
----- text -----
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
-- part contents for background part 24
----- text -----
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
-- part contents for background part 25
----- text -----
12.0
12.0
12.0
12.0
12.0
12.0
12.0
12.0
-- part contents for card part 5
----- text -----
T/R